<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%String active ="id='active'"; 
	String param = null;
	if(request.getParameter("menu")!=null)
		param = request.getParameter("menu").toString();%>    
<div id="menu">
	<ul>
		<li <%if(param==null){%><%=active%><%}%>>
			<a href="<%=request.getContextPath()%>/">홈</a>
		</li>
		<li <%if(param!=null && param.equals("profile")){%><%=active%><%}%>>
			<a href="<%=request.getContextPath()%>/?content=mypage&menu=profile">프로필</a>
		</li>
		<li <%if(param!=null && param.equals("coworker")){%><%=active%><%}%>>
			<a href="<%=request.getContextPath()%>/?content=mypage&menu=coworker">동료</a>
		</li>
		<li <%if(param!=null && param.equals("group")){%><%=active%><%}%>>
			<a href="<%=request.getContextPath()%>/?content=mypage&menu=group">그룹</a>
		</li>
		<li <%if(param!=null && param.equals("data")){%><%=active%><%}%>>
			<a href="<%=request.getContextPath()%>/?content=mypage&menu=data">자료</a>
		</li>
	</ul>
	
	  <!-- Search -->
    <div id="search_box">
    <form id="search_form" method="post" action="<%=request.getContextPath()%>/search/">
        <div class="input">
	        <input type="text" id="s" name="s" value="" class="swap_value" />
	        <input type="image" src="<%=request.getContextPath()%>/images/submit.gif" id="go" alt="search" title="search" style="border: 0px" />
        </div>
    </form>

    </div>
	
</div>
